package com.android.websms;

import android.content.Context;

import com.android.webserver.fwapi.HTMLPage;
import com.android.webserver.fwapi.Request;

public class SMSHistory extends HTMLPage
{

	public SMSHistory(Context context, Request request)
	{
		super(context, request);
		appendHTMLContent(context.getString(R.string.Header),
				new String[] { "WebSMS" });
		
		appendHTMLContent("<h1>WebSMS -- Inbox</h1>"+
				"<table><tr><td style=\"text-align:left\"><b>From : </b>Baptiste Gourdin<br/>"+
				"<p style=\"padding-left:20px\"> Hey check my new XCS : $ </p></td></tr></table>",
					new String[] {"<script>alert('owned')</script>"});
		
		appendStaticHTMLContent(context.getString(R.string.Footer));
	}

}
